@color: #2796ea;
@linkColor: #354052;
body {
    font-size: 13px;
    a {
        color: @linkColor;
        &:hover {
            color: #2796ea;
        }
    }
}
.nice-admin {
    background-color: #eef1f5;
    position: relative;
    .nice-header {
//      background-color: #26344b; 
        background-color: #1c2331;
        background-color: #2278d0;
        background-color: #2d8cf0;
        background-color: #2796ea;
//      border-bottom: 1px solid #1a2433;
        height: 50px;
        line-height: 50px;
        position: fixed;
        width: 100%;
        z-index: 99;
        .nice-logo {
            width: 170px;
            font-size: 22px;
            float: left;
        }
        .nice-logo-a {
            padding-left: 15px;
            padding-right: 15px;
            color: #FFFFFF;
        }
        .nice-logo a {
            color: #fff;
        }
        .nice-logo .sub-v {
            font-size: 14px;
            color: #FFF;
        }
        .header-switch {
            float: left;
            list-style: none;
            padding-left: 0;
            li {
                float: left;
            }
            .link {
                display: inline-block;
                margin-left: 1px;
                padding: 0 10px;
                font-size: 14px;
                height: 50px;
                line-height: 50px;
                color: #fff;
                &.active {
                    background-color: #228ee0;
                }
                &:hover {
                    background-color: #228ee0;
                }
            }
        }
        .nice-user-info {
            float: right;
            padding-left: 15px;
            padding-right: 30px;
            a {
                color: #fff;
            }
        }
    }
    
    //侧边栏菜单
    .nice-menu {
        width: 150px;
        background-color: #222c3c;
        max-height: none !important;
        position: fixed;
        overflow: hidden; 
        height: 100%;  
        z-index: 99;
        top: 50px;
        .menu-wrap {
            position: absolute; 
            left: 0;
            height: 100%;  
            overflow-x: hidden;
            overflow-y: scroll;
            .menu-content {
                width: 150px;  
                margin-bottom: 80px;
                .sidebar-title {
                    padding-top: 25px;
                    padding-bottom: 10px;
                    padding-left: 15px;
                    color: #7f8fa4;
//                  text-align: center;
//                  background-color: #273346; 
                    font-size: 12px;
                    text-transform: uppercase;
                }
                &>.sidebar-list {
                    padding-left: 0;
                    margin: 0;
                    &>.li {
                        a {
                            -webkit-transition: background .15s linear,color .15s linear;
                            -o-transition: background .15s linear,color .15s linear;
                            transition: background .15s linear,color .15s linear;
                            color: #b7c0cd;
                            display: block;
                            width: 100%;
                            margin: 0;
                            height: 37px;
                            line-height: 37px;
                            padding: 0px 15px;
                            text-decoration: none;
                            font-size: 14px;
                            background: 0 0;
                            position: relative;
                            .triangle-facing-left {
                                display: inline-block!important;
                            }
                            .triangle-facing-bottom {
                                display: none!important;;
                            }
                            
                            &:hover {
                                background-color: #1d2531;
                                color: #fff;
                            }
                            &>i {
                                font-size: 15px;
                            }
                        }
                        &.has-sub {
                                &>a {
                                    &:hover {
                                        background-color: #222c3c;
                                        color: #fff;
                                    }
                                }
                        }
                        &.active {
                            &.has-sub {
                                &>a {
                                    color: #b7c0cd;
                                    background-color: #222c3c;
                                    box-shadow: none;
                                    &:hover {
                                        color: #fff;
                                        box-shadow: none;
                                    }
                                }
                            }
                            &>a {
                                background-color: #1d2531;
                                color: #2796ea;
                                box-shadow: inset 3px 0 0 0 #2796ea;
                                .triangle-facing-left {
                                    display: none!important;;
                                }
                                .triangle-facing-bottom {
                                    display: inline-block!important;;
                                }
                            }
                            
                            .sub-list {
                                display: block;
                            }
                        }
                        .sub-list {
                            background-color: #1d2531;
                            list-style: none;
                            display: none;
                            li {
                                &>a {
                                    padding-left: 30px;
                                    position: relative;
                                }
                                &.active {
                                     &>a {
                                        box-shadow: inset 3px 0 0 0 #2796ea;
                                        color: #2796ea;
                                     }
                                }
                            }
                        }
                    }
                }
                 
                
            }
         }
    }
    .list-icon {
        width: 20px;
        position: absolute;
        right: 10px;
        bottom: 0px;
    }
    .triangle-facing-left {
        display: inline-block;  
        margin: 1px;  
        border-left: 1px solid #aaa;
        border-bottom: 1px solid #aaa;
        width: 6px;
        height: 6px;
        transform: rotate(-135deg);  
   }
   .triangle-facing-bottom {
        display: inline-block;  
        margin: 1px;  
        border-left: 1px solid #aaa;
        border-bottom: 1px solid #aaa;
        width: 6px;
        height: 6px; 
        transform: rotate(-45deg);  
   }
    
    //主布局
    .nice-main {
         .nice-container {
            position: fixed;
            width: 100%;
            z-index: 1;
            bottom: 0;
            top: 50px;
            padding-left: 150px;
            .nicemip-container-header {
                .header-group {
                    .title {
                        font-size: 22px;
                        line-height: 31px;
                        display: inline-block;
                        float: left;
                        &:after {
                            display: inline-block;
                            width: 1px;
                            height: 15px;
                            margin: 0px 15px;
                            background-color: #dfe3e9;
                            content: " ";
                        }
                    }
                    .sub-title {
                        float: left;
                        display: block;
                        line-height: 31px;
                        font-size: 14px;
                        color: #7f8fa4;
                    }
                }
                padding: 15px;
                height: 62px;
                width: 100%;
                background-color: #fff;
                border-bottom: 1px solid #e6eaee;
                overflow: hidden;
            }
            .nicemip-container-body {
                padding: 15px;
                overflow: auto;
                height: 100%;
            }
        }
         
    }
    
}
//通用布局
//选项卡
.nice-box-tap {
    margin-bottom: 15px;
}
.tap-list {
    overflow: hidden;
    display: inline-block;
    li {
        float: left;
        a {
            padding: 8px 15px;
            display: inline-block;
            border-bottom: 0;
            z-index: 99;
            position: relative;   
            transition: all .2s ease-in-out;
            margin-right: 10px;
            background-color: #fff;
        }
        &:hover {
            a {
                background-color: @color;
                color: #fff;
            }
        }
        &.active {
            a {
                background-color: @color;
                color: #fff;
            }
        }
    }
}
/*盒子*/
.nice-box {
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 3px;
    border: 0;
    -webkit-box-shadow: initial;
    box-shadow: inherit;
    .nice-user-info {
        float: right;
        padding-left: 15px;
        padding-right: 30px
    }
    .nice-box-heading {
        color: @linkColor;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
        position: relative;
        padding: 15px 0px;
        margin-left: 15px;
        margin-right: 15px;
        border-bottom: 1px solid #EFEFEF;
        overflow: hidden;
        h3 {
            margin: 0;
            line-height: 16px;
            font-size: 16px;
            font-weight: 500;
            color: @linkColor;
        }
        .right {
            position: absolute;
            right: 0;
            top: 12px;
            font-size: 13px;
            padding: 1px 5px;
            border: 1px solid transparent;
            line-height: 1.5;
        }
        .right:hover {
            border-radius: 3px;
            background-color: #eef1f5;
            color: @linkColor;
        }
    }
    .nice-box-body {
        padding: 15px;
        position: relative;
    }
    .nice-box-body:before,
    .nice-box-body:after {
        display: table;
        content: " "
    }
    .nice-box-body:after {
        clear: both
    }
}
//自定义列表
.content-list-header {
    margin-bottom: 10px;
}
.diy-table-list {
    background-color: #fff;
    border-radius: 3px;
    list-style: none;
    min-height: 483px;
    clear: both;
    .diy-table-item-header {
        font-weight: 500;
        background-color: #f8f8f9;
        background-color: #f5f8fa;
        color: #7f8fa4;
        &:hover {
            background-color: #f5f8fa!important;;
            color: #7f8fa4!important;;
        }
    }
    .diy-table-body {
        color: #7f8fa4;
        a {
            color: @linkColor;
            font-weight: 500;
        }
        &>.diy-table-item:nth-child(odd){
            background:#fff;
            &:hover {
                background-color: #eff3f6;
            }
        }
        &>.diy-table-item:nth-child(even){
            background:#fbfbfb;
            background-color: rgba(230,234,238,.3);
            &:hover {
                background-color: #eff3f6;
            }
        }
    }
    .diy-table-item {
        padding-left: 10px;
        padding-right: 10px;
//      border-bottom: 1px solid #eee;
//      margin-bottom: -1px;
        line-height: 40px;
        min-height: 40px;
        .handle {
            display: none;
        }
        .ivu-btn-text-up-down[disabled]:hover {
            color: #cbcfd6;
        }
        .ivu-btn-text-up-down {
            color: #cbcfd6;
            &:hover {
                color: #26344b;
            }
        }
        &:hover {
            background-color: #eff3f6;
            .handle {
                display: block;
            }
        }
        &.is-open {
            background-color: #eff3f6!important;
            .children-list {
                display: block;
            }
        }
        .children-list {
            border-top: 1px solid #e6eaee;
            display: none;
            background-color: #eff3f6;
        }
        a:hover {
            color: #2796ea;
        }
    }
}



    .side-box {
        position: fixed;
        padding: 0;
        box-sizing: border-box;
        display: block;
        background-color: inherit;
        width: 150px;
        margin: 0;
        overflow: hidden; 
        .side-box-body {
            position: absolute; 
            left: 0;
            height:  100%;
            overflow-x: hidden;
            overflow-y: scroll;
            background-color: #fff;
        }
    }
    .side-list {
        width: 150px;  
        margin-bottom: 80px;
        ul {
            list-style: none;
            i {
                width: 9px;
                text-align: center;
                color: #b9b4b4;
            }
            &>.nav-item {
                a {
                    height: 37px;
                    padding: 9px 15px;
                    display: block;
                    font-size: 0.8rem;
                    font-weight: 500;
                    color: @linkColor;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    word-break: break-all;
                    text-decoration: none;
                    width: 100%;
                    transition: none;
                    &:hover{
                        color: @color;
                    }
                }
                &.active>a {
                    color: #fff;
                    background-color: @color;
                }
                .children {
                    li {
                       position: relative;
                    }
                    li.active>a {
                        color: #fff;
                        background-color: @color;
                    }
                    a {
                        padding-left: 35px;
                        font-weight: 300;
                        position: rerelative;
                        &::after {
                            position: absolute;
                            top: 8px;
                            left: 15px;
                            content: '|';
                            width: 6px;
                            height: 6px;
                       }
                        &::before {
                            position: absolute;
                            top: 7px;
                            left: 15px;
                            content: '-';
                            margin: 1px;
                            width: 6px;
                            height: 6px;
                       }
                        span {
                            margin-left: -5px;
                        }
                        &:hover {
                            color: @color;
                        }
                    }
                }
            }
        
        }
    }
    
    .content-box {
        .nice-box-body {
            min-height: 562px;
        }
        margin-left: 165px;
    }

 
.no-block {
    text-align: center;
    min-height: 400px;
    padding-top: 130px;
        color: #7f8fa4;
    i {
        font-size: 60px;
    }
    p {
        margin-top: 10px;
    }
}

//占位隐藏
.v-h {
    visibility: hidden;
}
.v-s {
    visibility: inherit;
}
.ivu-page-item-active {
    a:not([href]):not([tabindex]) {
        color: #fff;
        text-decoration: none;
    }
}
label {
    margin-bottom: 0;
}
.over-h {
    overflow: hidden;
}
.over-h-e {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.text-center {
    text-align: center;
}
.pull-left {
    float: left;
}
.pull-right {
    float: right;
}



.text-warning {
    color: #ff9900!important;
    &:hover {
        color: #f09025!important;
    }
}
.text-danger {
    color: #ed3f14!important;
    &:hover {
        color: #df3d22!important;
    }
}

.text-success {
    color: #19be6b!important;
    &:hover {
        color: #27b468!important;
    }
}


.form-line {
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 0px;
    background: #fff;
    font-weight: 800;
    margin-top: 30px;
    height: 4px;
    margin-bottom: 30px;
    .form-line-inner {
         background: #fff;
         padding: 10px;
    }
}
